package com.keepercloud.qqchat.service;

import com.keepercloud.qqchat.entity.User;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author liyk
 * @date 2019/2/12
 */
@Service
public interface UserService {

    User findByUsername(String username);

    void save(User user);

    List<String> getRoleList(String username);
}
